﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;

namespace QLBH.Models
{
    public class IndustryModel :ModelBase
    {
        public override NameValueCollection PrepareValue()
        {
            NameValueCollection uploadIndustry = new NameValueCollection();
            uploadIndustry.Add("id", this.Id.ToString());
            uploadIndustry.Add("name", this.Name);
            uploadIndustry.Add("description", this.Description);
            uploadIndustry.Add("shop_id", this.Shop_id.ToString());
            return uploadIndustry;
        }
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private String created_at;

        public String Created_at
        {
            get { return created_at; }
            set { created_at = value; }
        }
        private String update_at;

        public String Update_at
        {
            get { return update_at; }
            set { update_at = value; }
        }
        private String name;

        public String Name
        {
            get { return name; }
            set { name = value; }
        }
        private String desctiption;

        public String Description
        {
            get { return desctiption; }
            set { desctiption = value; }
        }
        private int shop_id;

        public int Shop_id
        {
            get { return shop_id; }
            set { shop_id = value; }
        }
        public IndustryModel()
        {}
    }
}
